package basic;

import jdbmaplite.manager.impl.JDBMapLiteManager;
import data.User;
import data.UserDao;

public class BasicExample {

	public static void main(String[] args) throws Exception {
		JDBMapLiteManager dbManager = new JDBMapLiteManager(
				"/basic/JDBMapLite.xml", false);
		UserDao userDao = new UserDao(dbManager);

		User user = userDao.getUser("test");
		System.out.println(user.getUserName());
		System.out.println(user.getUserId());
	}

}